(function () {

	var typeMappings = require("../typeMappings");

	var data = {};

	var types = Object.keys(typeMappings);
	for (var i in types) {
		var type = types[i];
		var sampleData = require("./" + type + ".json");
		var models = data[type] = [];
		for (var j = 0; j < sampleData.length; j++) {
			models.push(new typeMappings[type](sampleData[j]));
		}
	}

	module.exports = data;

})();